package net.sudot.chess.business.dto;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import net.sudot.chess.business.model.BaseOrder;
import net.sudot.chess.business.model.PaymentTransaction;

import java.io.Serializable;

/**
 * 订单详情
 *
 * @author tangjialin on 2018-05-05.
 */
@Getter
@Setter
@Accessors(chain = true)
public class OrderDetailDTO implements Serializable {
    /** 订单信息 */
    private BaseOrder order;
    /** 支付事务 */
    private PaymentTransaction paymentTransaction;

    public OrderDetailDTO() {
    }

    public OrderDetailDTO(BaseOrder order, PaymentTransaction paymentTransaction) {
        this.order = order;
        this.paymentTransaction = paymentTransaction;
    }

}
